package com.ruoyi.bom.mapper;

import com.ruoyi.bom.domain.*;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
* @author 86198
* @description 针对表【tql_food】的数据库操作Mapper
* @createDate 2024-01-18 18:19:03
* @Entity com.ruoyi.bom.domain.TqlFood
*/
public interface TqlFoodMapper  {

    List<TqlFood> selectFoodList();


    List<TqlFood> selectFoodList(TqlFood tqlFood);

    List<TqlFood> selectFoodVoList(TqlFood tqlFood);

    List<TqlFood> selectShopAndPriceList(TqlFood tqlFood);

    List<TqlFood> findAllFood(Map<String, String> params);

    List<TqlFoodUnit> findFoodUnit(Long foodId);

    List<TqlFood> findUnUserFoodInfo(String fnumber);

    TqlPandianPeriodVO findEnableGenPharse(String pandianCode);

    FoodAndBom findUnUserFoodCountAndSumAmount(HashMap<String,Object> map );

    List<FoodAndBom> findTqlHllShopBillFoodReportByPeriod(HashMap<String,Object> map );

    List<TqlFood> selectAllFoodByIsLock(TqlFood params);

//    List<FoodAndBom> findBomCardParse(@Param("pandianCode") String pandianCode, @Param("type")String type);

    void updatesetIsOpen(Integer id);
}




